<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo(Yii::app()->params['app']['name'])?> - <?php echo(Yii::app()->params['app']['title'])?></title>
<meta name="keywords" content="<?php echo(Yii::app()->params['app']['name'])?>" />
<meta name="description" content="<?php echo(Yii::app()->params['app']['name'])?>" />
<link href="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/css/default.css?v=<?php echo(Yii::app()->params['app']['version'])?>" rel="stylesheet" type="text/css" />
<link href="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/css/frame_android_down.css?v=<?php echo(Yii::app()->params['app']['version'])?>" rel="stylesheet" type="text/css" />
</head>
<body>
<?php $is_mini = Yii::app()->params['app']['eversion'];?>
<?php $imgUrl = Yii::app()->params['app']['host']."statics/web/css"?>
<?php 
    $href = '#';
    $android_href = "http://www.miniyun.cn/index.php?r=app/download&type=android";
    $windows_href = "http://www.miniyun.cn/index.php?r=app/download&type=windows&mime=exe";
    $ios_href     = "http://itunes.apple.com/app/mi-ni-yun/id496835613?mt=8";
    $androidClick = "onclick=\"javascript:document.getElementById('android_down_pop').style.visibility ='visible';\"";
    $iosClick = "onclick=\"javascript:document.getElementById('ios_down_pop').style.visibility ='visible';\"";
    $is_mini = Yii::app()->params['app']['eversion'];
    if($is_mini == 0){
        $href =  "http://www.miniyun.cn/index.php?r=app/download&mid=".Yii::app()->params['app']['mid']."&type=ios";
        $android_href = "http://www.miniyun.cn/index.php?r=app/download&mid=".Yii::app()->params['app']['mid']."&type=android";
        $windows_href = "http://www.miniyun.cn/index.php?r=app/download&mid=".Yii::app()->params['app']['mid']."&type=windows&mime=exe";
        $ios_href     = "http://www.miniyun.cn/index.php?r=app/download&mid=".Yii::app()->params['app']['mid']."&type=ios";
}?>
<div class="graybar"></div>
<div class="w960">
     <div class="downframe">
          <div class="downlist">
               <ul>
                  <li class="w328">
                      <div class="dimg"><img border="0" src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/images/down_1.gif" /></div>
                      <div class="split"></div>
                        <p><strong>Windows版</strong></p>
                        <p>运行在Windows系统上的同步云盘客户端</p>
                        <p>支持XP/Win7/2003/2008/Vista等系统</p> 
                        <div class="btn"><a target="_black" href="<?php echo $windows_href?>"><img border="0" src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/images/down_btn1.gif" /></a></div>
                  </li>
                  <li>
                      <div class="dimg"><img border="0" src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/images/down_2.gif" /></div>
                      <div class="split"></div>
                        <p><strong>Android版</strong></p>
                        <p>轻松管理云盘的Android App</p> 
                        <p>支持Android 2.2以上版本</p> 
                        <div class="btn"><a href='#'><img <?php echo $androidClick;?> src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/images/down_btn3.gif" width="195" height="56" border="0" /></a></div>
                  </li>
                  <li>
                      <div class="dimg"><img border="0" src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/images/down_3.gif" /></div>
                      <div class="split"></div>
                        <p><strong>iPhone/iPad版</strong></p>
                        <p>轻松管理云盘的iPhone/iPad APP</p> 
                        <p>支持iOS 4.0以上手机</p> 
                        <div class="btn"><a href="<?php echo $href;?>"><img <?php if ($is_mini == 1){echo $iosClick;}?> src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/images/down_btn4.gif" width="195" height="56" border="0" /></a></div>
                  </li>
               </ul>
          </div> 
<!-- downlist
          <div class="downline"></div>

          <div class="downlist">
               <ul>
                  <li class="w328">
                      <div class="dimg"><img border="0" src="<?php ?>/statics/web/images/down_4.gif" /></div>
                      <div class="split"></div>
                        <p><strong>iPad版</strong></p>
                        <p>轻松管理云盘的iPad APP</p>
                        <p>敬请期待</p> 
                        <div class="btn"><a href="#"><img border="0" src="<?php ?>/statics/web/images/down_btn2.gif" /></a></div>
                  </li>
               </ul>
          </div><!-- downlist -->
     
          <div class="clear"></div>
     </div><!-- downframe -->

</div><!-- w960 -->
<?php include 'downmanager.php';?>
</body>
</html>